<div class="right_side_operate_area">
	<?php
	$cuser=$session->read('User');
		if($cuser['isadmin']=='1'){
			?>
			<div class="left item_add_btn" style='width:70px;'><a  href="javascript:;" id="write_msg" >发系统信</a></div>
			<?php
		}
	
	?>
	
	
	<?php  
		if($first_msg['Msg']['feedbacksShowpage']==1) {
			if(isset($paging)){ echo $this->renderElement('pagination',$paging);} 
		}
	?>
</div>
<div class="right_side_scollbar_msg">
<?php if(!empty($first_msg['Msg']['id'])): ?>
<div style='float:left;margin:0 40px;width:92%;'>

  <div style='font-size:10pt;margin:10px 0;'>
  <span style="float:left;font-weight: bold;font-size:16px;"><?php echo ($first_msg['User']['name'])?>发给:&nbsp;&nbsp;</span>
  <div id="receiver" style="height:20px;float:left;overflow:hidden;max-width:80%;font-weight: bold;font-size:16px;">
  
  <?php for($i=0;$i<count($first_msg['Msg']['id_ones']);$i++):?>
  
	 <?php echo $html->link($first_msg['Msg']['id_ones'][$i]['name'].'; ',"/users/view/".$first_msg['Msg']['id_ones'][$i]['id']);?>

  <?php endfor;?>
  </div>
  <a class='show_receiver'  href='javascript:;' title='展开'></a>
  <a style='float:right;'><?php echo date('Y-m-d H:s',strtotime($first_msg['Msg']['created']));?></a>
  </div>
  <?php if(!empty($first_msg['Msg']['attachments'])): ?>
  <div style='font-size:10pt;margin:10px 0;float:left;width:100%;'>附件:&nbsp;&nbsp;
   <?php for($i=0;$i<count($first_msg['Msg']['attachments']);$i++):?>

	 <?php echo $html->link($first_msg['Msg']['attachments'][$i]['Attachment']['file_name'].'; ',"/msgs/download/".$first_msg['Msg']['attachments'][$i]['Attachment']['id']);?>

	<?php endfor;?>
 </div>	
 <?php endif;?>
  <div style='font-size:11pt;padding:10px 0;text-indent:30px;border-bottom:1px solid 
  #ccc;float:left;max-width:1100px;width:100%;word-wrap: break-word;overflow: hidden;'><?php echo $first_msg['Msg']['content'];?></div>
 
</div>
<?php else: ?>
  
<?php endif;?>
<div class="clear"></div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	hideReceiver();
});
</script>